package com.yd.tzkk;

import android.app.Application;

import com.yd.tzkk.update.XUpdateInit;
import com.xuexiang.xhttp2.XHttp;
import com.xuexiang.xhttp2.XHttpSDK;

public class App extends Application {

    public static final String MAIN_URL = "http://www.yd2021.com";
    public static App mApp;

    @Override
    public void onCreate() {
        super.onCreate();
        mApp = this;

        XHttp.init(this);
        XHttpSDK.setBaseUrl(MAIN_URL);
        XUpdateInit.init(this);
    }
    public static App getApp(){
        return mApp;
    }
}
